package cn.sofwin.day0125;


class HelloA {
    public HelloA() {
        System.out.println("HelloA");
    }
    { System.out.println("I'm A class"); }
    static { System.out.println("static A"); }
}

public class Test01 extends HelloA {
    public Test01() {
        System.out.println("HelloB");
    }
    { System.out.println("I'm B class"); }
    static { System.out.println("static B"); }
    public static void main(String[] args) {
new Test01(); }
}